package com.example.demo.modules.base.controller;

import com.example.demo.base.XbootBaseController;
import com.example.demo.common.utils.PageUtil;
import com.example.demo.common.utils.ResultUtil;
import com.example.demo.common.vo.PageVo;
import com.example.demo.common.vo.Result;
import com.example.demo.modules.base.entity.UserRole;
import com.example.demo.modules.base.service.UserRoleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import org.springframework.transaction.annotation.Transactional;


/**
 * @author yw
 */
@Slf4j
@RestController
@Api(description = "用户角色管理接口")
@RequestMapping("/xboot/userRole")
@Transactional
public class UserRoleController extends XbootBaseController<UserRole, Integer>{

    @Autowired
    private UserRoleService userRoleService;

    @Override
    public UserRoleService getService() {
        return userRoleService;
    }


}
